<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	<style>
		table {font-family: verdana,arial,sans-serif;font-size:11px;color:#333333;border-width: 1px;border-color: #666666;border-collapse: collapse;}
		table th {border-width: 1px;padding: 8px;border-style: solid;border-color: #666666;background-color: #dedede;}
		table td {border-width: 1px;padding: 8px;border-style: solid;border-color: #666666;background-color: #ffffff;}
	</style>
</head>
<body>
	<%
		String name = "中华人民共和国万岁";
		String[] provinces = new String[]{"湖北","湖南","江西","安徽","河北","河南" };
		boolean isOk = true;
	%>
	<h1>${applicationScope.wen}</h1>
	<h1>${applicationScope.da}</h1>
	<h1><%= name%></h1>
	<%if(isOk){
		String keyi = "可以";
	%>
		<p><%=keyi %></p>
	<%}else{%>
		<p>不可以</p>
	<%} %>
	<table>
		<thead>
    		<tr>
        		<th>省份</th>
        	</tr>
        </thead>
		  <tbody>
		  	<%for(String province : provinces){%> 
		  		<tr>
		  			<td ><%= province%></td>
		  		</tr>
		  	<%}%>
		  </tbody>
	</table>
	
</body>
</html>